package jafou.client.remote;

import java.util.HashMap;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("jafou")
public interface JafouService extends RemoteService{
	
	String[][] getForums();
	
	String[][] getTopicsInForum(String forumId);
	
	String[][] getPostsInTopic(String topicId);
	
	HashMap<String, String> getUserAttributes();
	
	String addForum(String title, String tagline);
	
	String addTopic(String title, String forumId);
	
	String addPost(String message, String topicId);
	
	String delForum(String id);
	
	String delTopic(String id);
	
	String delPost(String id);
	
	String getUserIdForTopic(String topicId);

}
